<?php

class EvenementPeer extends BaseEvenementPeer
{
    public static function doSelectEventDay($day,$date,$id){
        $c = new Criteria();
        $c->add(EvenementPeer::ID_EVENEMENT,$id);
        $c->add(EvenementPeer::DATE_CREATION,$day,Criteria::GREATER_EQUAL);
        $c->addAnd(EvenementPeer::DATE_CREATION,$date,Criteria::LESS_THAN);
        return parent::doSelect($c);
    }
}
